package com.qf.main.login.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
@author chengqiang
@Create 2024-01-19-11:00
@Description:
*/
/**
 * 角色表
 */
// @ApiModel(description="角色表")
@Data
@TableName(value = "sys_role")
public class SysRole {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    // @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 角色名字
     */
    @TableField(value = "role_name")
    // @ApiModelProperty(value="角色名字")
    private String roleName;

    /**
     * 角色描述
     */
    @TableField(value = "role_desc")
    // @ApiModelProperty(value="角色描述")
    private String roleDesc;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    // @ApiModelProperty(value="创建时间")
    private Date createDate;

    /**
     * 1时间 0正常
     */
    @TableField(value = "del_status")
    @TableLogic
    // @ApiModelProperty(value="1时间 0正常")
    private Integer delStatus;

    public static final String COL_ID = "id";

    public static final String COL_ROLE_NAME = "role_name";

    public static final String COL_ROLE_DESC = "role_desc";

    public static final String COL_CREATE_DATE = "create_date";

    public static final String COL_DEL_STATUS = "del_status";
}
